package com.stenio.fancat.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户表实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_user")
public class User extends BaseEntity {

	/** 序列化ID */
	private static final long serialVersionUID = -9081616134324981416L;

	/** 自增主键 */
	@TableId(value = "user_id", type = IdType.AUTO)
	Integer userId;
	@TableField("phone")
	private String phone;
	@TableField("user_name")
	private String userName;
	@TableField("nike_name")
	private String nikeName;
	@TableField("head_pic")
	private String headPic;
	/** 微信登录唯一标识 **/
	@TableField("union_id")
	public String unionId;
	/** 当前页 **/
	@TableField(exist = false)
	private Integer currentPageNo;
	/** 每页条数 **/
	@TableField(exist = false)
	private Integer pageSize;

}
